import request from '@/utils/request'

// 查询车辆异常点位数据明细列表
export function listClycdwsjmx(query) {
  return request({
    url: '/tjbb/cljl/clycdwsjmx/list',
    method: 'get',
    params: query
  })
}

// 查询车辆异常点位数据明细详细
export function getClycdwsjmx(id) {
  return request({
    url: '/tjbb/cljl/clycdwsjmx/' + id,
    method: 'get'
  })
}

// 新增车辆异常点位数据明细
export function addClycdwsjmx(data) {
  return request({
    url: '/tjbb/cljl/clycdwsjmx',
    method: 'post',
    data: data
  })
}

// 修改车辆异常点位数据明细
export function updateClycdwsjmx(data) {
  return request({
    url: '/tjbb/cljl/clycdwsjmx',
    method: 'put',
    data: data
  })
}

// 删除车辆异常点位数据明细
export function delClycdwsjmx(id) {
  return request({
    url: '/tjbb/cljl/clycdwsjmx/' + id,
    method: 'delete'
  })
}
